package com.byq.mm.abstractx.cluster.server.executor;

import java.util.HashMap;
import java.util.Map;

public class ExecutorManager {
	Map<String, Executor> executors = new HashMap<String, Executor>();
	public void register(String deviceId, String cluster, Executor e){
		executors.put(deviceId + "-" + cluster, e);
	}
	public Executor getExecutor(String deviceId, String cluster){
		return executors.get(deviceId + "-" + cluster);
	}
}
